package level.editor.control.layer;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import level.editor.control.main.Main;

public class LayerBuffer extends JPanel
{
	public LayerBuffer(Integer zOrder, Main main)
	{
		super(new BorderLayout());
		this.zOrder = zOrder;
		this.main = main;
		setVisible(true);
		setOpaque(false);
		main.add(this, zOrder, 0);
	}

	public Integer getLayerNumber()
	{
		return zOrder;
	}
	
	protected Main main;
	private Integer zOrder;
}
